﻿#include <iostream>
using namespace std;

int main() {
	int x, y;
	cout << "计算两个整数值x和y的平均值\n";
	cout << "x的值："; cin >> x;
	cout << "y的值："; cin >> y;
	double ave = (x + y) / 2;
	cout << "x和y的平均值：" << ave << '\n';

	cin.get();
	cin.get();
}